package com.rxh.pojo.payment;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: 陈俊雄
 * Date: 2018/5/29
 * Time: 14:58
 * Project: Management
 * Package: com.rxh.pojo.merchant
 *
 * 交易数据对象（含xml对象所有信息）
 */
public class TradeObject implements Serializable {
    // 内嵌：0，跳转：1
    private Integer transType;
    //
    private String payURL;
    // 商户号
    private Integer merNo;
    // 商户订单号
    private String billNo;
    // 总金额
    private BigDecimal amount;
    // 运费
    private BigDecimal freight;
    // 手续费
    private BigDecimal fee;
    // 交易币种
    private String currency;
    // 用户id
    private String customerId;
    // 持卡人姓
    private String billFirstName;
    // 持卡人名
    private String billLastName;
    // 持卡人地址
    private String billAddress;
    // 持卡人城市
    private String billCity;
    // 持卡人州/省
    private String billState;
    // 持卡人国家
    private String billCountry;
    // 持卡人邮编
    private String billZip;
    // 持卡人邮箱
    private String billEmail;
    // 持卡人电话
    private String billPhone;
    // 姓
    private String shipFirstName;
    // 名
    private String shipLastName;
    // 地址
    private String shipAddress;
    // 城市
    private String shipCity;
    // 州/省
    private String shipState;
    // 国家
    private String shipCountry;
    // 邮编
    private String shipZip;
    // 邮箱
    private String shipEmail;
    // 电话
    private String shipPhone;
    // 页面语言
    private String lang;
    // 支付方式
    private String payMode;
    // 支付类型
    private String payType;
    // 返回地址
    private String returnURL;
    // 通知地址
    private String notifyURL;
    // 交易备注
    private String remark;
    // md5验证码
    private String md5Info;
    // 浏览器HTTP_USER_AGENT
    private String userAgent;
    // 客户IP
    private String ip;
    // 卡号
    private String cardNo;
    // 发卡行
    private String issue;
    // 安全码
    private String securityNum;
    // 有效年
    private Short expireYear;
    // 有效月
    private Short expireMonth;
    // 产品列表
    private List<ProductDetail> productDetails;

    public Integer getTransType() {
        return transType;
    }

    public void setTransType(Integer transType) {
        this.transType = transType;
    }

    public String getPayURL() {
        return payURL;
    }

    public void setPayURL(String payURL) {
        this.payURL = payURL;
    }

    public Integer getMerNo() {
        return merNo;
    }

    public void setMerNo(Integer merNo) {
        this.merNo = merNo;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getFreight() {
        return freight;
    }

    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getBillFirstName() {
        return billFirstName;
    }

    public void setBillFirstName(String billFirstName) {
        this.billFirstName = billFirstName;
    }

    public String getBillLastName() {
        return billLastName;
    }

    public void setBillLastName(String billLastName) {
        this.billLastName = billLastName;
    }

    public String getBillAddress() {
        return billAddress;
    }

    public void setBillAddress(String billAddress) {
        this.billAddress = billAddress;
    }

    public String getBillCity() {
        return billCity;
    }

    public void setBillCity(String billCity) {
        this.billCity = billCity;
    }

    public String getBillState() {
        return billState;
    }

    public void setBillState(String billState) {
        this.billState = billState;
    }

    public String getBillCountry() {
        return billCountry;
    }

    public void setBillCountry(String billCountry) {
        this.billCountry = billCountry;
    }

    public String getBillZip() {
        return billZip;
    }

    public void setBillZip(String billZip) {
        this.billZip = billZip;
    }

    public String getBillEmail() {
        return billEmail;
    }

    public void setBillEmail(String billEmail) {
        this.billEmail = billEmail;
    }

    public String getBillPhone() {
        return billPhone;
    }

    public void setBillPhone(String billPhone) {
        this.billPhone = billPhone;
    }

    public String getShipFirstName() {
        return shipFirstName;
    }

    public void setShipFirstName(String shipFirstName) {
        this.shipFirstName = shipFirstName;
    }

    public String getShipLastName() {
        return shipLastName;
    }

    public void setShipLastName(String shipLastName) {
        this.shipLastName = shipLastName;
    }

    public String getShipAddress() {
        return shipAddress;
    }

    public void setShipAddress(String shipAddress) {
        this.shipAddress = shipAddress;
    }

    public String getShipCity() {
        return shipCity;
    }

    public void setShipCity(String shipCity) {
        this.shipCity = shipCity;
    }

    public String getShipState() {
        return shipState;
    }

    public void setShipState(String shipState) {
        this.shipState = shipState;
    }

    public String getShipCountry() {
        return shipCountry;
    }

    public void setShipCountry(String shipCountry) {
        this.shipCountry = shipCountry;
    }

    public String getShipZip() {
        return shipZip;
    }

    public void setShipZip(String shipZip) {
        this.shipZip = shipZip;
    }

    public String getShipEmail() {
        return shipEmail;
    }

    public void setShipEmail(String shipEmail) {
        this.shipEmail = shipEmail;
    }

    public String getShipPhone() {
        return shipPhone;
    }

    public void setShipPhone(String shipPhone) {
        this.shipPhone = shipPhone;
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public String getPayMode() {
        return payMode;
    }

    public void setPayMode(String payMode) {
        this.payMode = payMode;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getReturnURL() {
        return returnURL;
    }

    public void setReturnURL(String returnURL) {
        this.returnURL = returnURL;
    }

    public String getNotifyURL() {
        return notifyURL;
    }

    public void setNotifyURL(String notifyURL) {
        this.notifyURL = notifyURL;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMd5Info() {
        return md5Info;
    }

    public void setMd5Info(String md5Info) {
        this.md5Info = md5Info;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getIssue() {
        return issue;
    }

    public void setIssue(String issue) {
        this.issue = issue;
    }

    public String getSecurityNum() {
        return securityNum;
    }

    public void setSecurityNum(String securityNum) {
        this.securityNum = securityNum;
    }

    public Short getExpireYear() {
        return expireYear;
    }

    public void setExpireYear(Short expireYear) {
        this.expireYear = expireYear;
    }

    public Short getExpireMonth() {
        return expireMonth;
    }

    public void setExpireMonth(Short expireMonth) {
        this.expireMonth = expireMonth;
    }

    public List<ProductDetail> getProductDetails() {
        return productDetails;
    }

    public void setProductDetails(List<ProductDetail> productDetails) {
        this.productDetails = productDetails;
    }
}
